﻿/* Autoduel Game
 * CS4911 Senior Design Project
 * Fall 2010 Semester
 * Ian Axelrod, Liz Ha, Andrew Muldowney, Edward Futch
 */
namespace AutoduelClient.GameClient.Locations
{
    /// <summary>
    /// Represents the engine of a car
    /// </summary>
    public class PowerPlant
    {
		#region Fields (8)
		// the cost of the powerplant
        private int cost;
		// the current charge of the battery in this power plant
        private int currentBatteryCharge;
		// the maximum charge the battery in this power plant can hold
        private int maxBatteryCharge;
		// the maximum speed the powerplant allows
        private int maxSpeed;
		// the power the powerplant generates
        private int power;
		// the spaces the powerplant takes up
        private int spaces;
		// the weight of the powerplant
        private int weight;

		// the name of the powerplant
        private string name;
		#endregion

		#region Properties (8)
		/// <summary>
        /// Get/Set the cost of the powerplant
        /// </summary>
        public int Cost
        {
            get { return cost; }
            set { cost = value; }
        }
		/// <summary>
        /// Get/Set the current charge of the battery
        /// </summary>
        public int CurrentBatteryCharge
        {
            get { return currentBatteryCharge; }
            set { currentBatteryCharge = value; }
        }
		/// <summary>
        /// Get/Set the maximum charge of the battery
        /// </summary>
        public int MaxBatteryCharge
        {
            get { return maxBatteryCharge; }
            set { maxBatteryCharge = value; }
        }
		/// <summary>
        /// Get/Set the maximum speed the powerplant allows
        /// </summary>
        public int MaxSpeed
        {
            get { return maxSpeed; }
            set { maxSpeed = value; }
        }
		/// <summary>
        /// Get/Set the name of the powerplant
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
		/// <summary>
        /// Get/Set the power the powerplant generates
        /// </summary>
        public int Power
        {
            get { return power; }
            set { power = value; }
        }
		/// <summary>
        /// Get/Set the spaces the powerplant takes up
        /// </summary>
        public int Spaces
        {
            get { return spaces; }
            set { spaces = value; }
        }
		/// <summary>
        /// Get/Set the weight of the powerplant
        /// </summary>
        public int Weight
        {
            get { return weight; }
            set { weight = value; }
        }
		#endregion
    }
}
